package cn.kxx.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@ApiModel("体检预约信息")
@Data
public class OrderInfoVo implements Serializable {


        @ApiModelProperty("套餐id")
        private Integer setmealId;
        @ApiModelProperty("体检人姓名")
        private String name;
        @ApiModelProperty("适用性别")
        private String sex;
        @ApiModelProperty("手机号")
        private String telephone;
        @ApiModelProperty("验证码")
        private String validateCode;
        @ApiModelProperty("身份证号")
        private String idCard;
        @ApiModelProperty("体检日期")
        @DateTimeFormat(pattern="yyyy-MM-dd")//接收前端传递的日期类型
        private Date orderDate;
        @ApiModelProperty("预约类型:已到诊,未到诊")
        private String orderType;
}
